import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

import java.util.Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Home-pc
 * Date: 2023-08-22
 * Time: 15:19
 */
public class Test3 {
    public static void main(String[] args) {
        Stack<Integer> stack1=new Stack<>();
        stack1.push(11);
        stack1.push(23);
        stack1.push(45);
        stack1.push(67);
        System.out.println(stack1);
        System.out.println(stack1.pop());
        System.out.println(stack1.toString());
        System.out.println(stack1.peek());
        System.out.println(stack1.size());
        System.out.println(stack1.empty());
    }
}
